package org.lalib.controller.form;

import java.util.ArrayList;
import java.util.List;

import javax.faces.bean.SessionScoped;

import org.lalib.acquire.IControllerForm;
import org.lalib.entity.object.EItem;
import org.springframework.stereotype.Controller;

@SessionScoped
@Controller("cSearchForm")
public class CSearchForm implements IControllerForm {

	private static final long serialVersionUID = 1L;
	private Long foodId;
	private Long tableId;
	private Long personId;
	private String foodName = "";
	private String tableName = "";
	private String personName = "";
	private List<EItem> itemList = new ArrayList<EItem>();

	public List<EItem> getItemList() {
		return itemList;
	}

	public void setItemList(List<EItem> itemList) {
		this.itemList = itemList;
	}

	public Long getPersonId() {
		return personId;
	}

	public void setPersonId(Long personId) {
		this.personId = personId;
	}

	public String getPersonName() {
		return personName;
	}

	public void setPersonName(String personName) {
		this.personName = personName;
	}

	public Long getFoodId() {
		return foodId;
	}

	public void setFoodId(Long foodId) {
		this.foodId = foodId;
	}

	public String getFoodName() {
		return foodName;
	}

	public void setFoodName(String foodName) {
		this.foodName = foodName;
	}

	public Long getTableId() {
		return tableId;
	}

	public void setTableId(Long tableId) {
		this.tableId = tableId;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

}
